class Solution:
    def removePalindromeSub(self, s: str) -> int:
        if "" == s:
            return 0
        elif s == s[::-1]:
            return 1
        return 2